﻿using LibNiconico.NiconicoApi.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace LibNiconico.NiconicoApi.Videos.Comments
{
    /// <summary>
    /// ニコニコ動画スレッドコメント
    /// </summary>
    public sealed class NicoVideoThreadComment : NicoThreadCommentBase
    {
        internal NicoVideoThreadComment() { }

        /// <summary>
        /// メッセージ解析
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        public static NicoVideoThreadComment Parse(XElement message)
        {
            NicoVideoThreadComment rslt = new NicoVideoThreadComment();
            NicoThreadCommentBase.Parse(rslt, message);
            return rslt;
        }
    }
}
